package com.moli.iov.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.moli.iov.sys.model.dto.req.UserDto;
import com.moli.iov.sys.model.po.User;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2019-09-04
 */
public interface UserMapper extends BaseMapper<User> {

  /**
   * 分页查询用户列表
   * @param page
   * @param userDto
   * @return
   */
  IPage<User> listUserOfPage(Page<User> page, @Param("userDto") UserDto userDto);
}
